home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_demo-version / egs_devels / doc / gbradio.doc < prev    next >
Text File  |  1994-06-06  |  2KB  |  128 lines

  1. /*
  2. *  $
  3. *  $ FILE     : gbradio.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 10:07
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16. gbradio.library/EGB_CreateRadioGadget
  17. gbradio.library/EGB_ModifyRadioGadget
  18. gbradio.library/EGB_OffRadioElems
  19. gbradio.library/EGB_OnRadioElems
  20.  
  21.  
  22. gbradio.library/EGB_CreateRadioGadget
  23. NAME
  24.   EGB_CreateRadioGadget
  25.  
  26. SYNOPSIS
  27.   box = EGB_CreateRadioGadget(con, names, height, id);
  28.   D0                          A0   A1     D0      D1
  29.  
  30.   EB_GadBoxPtr      box;
  31.   EB_StrArrayPtr    names;
  32.   WORD              height;
  33.   LONG              id;
  34.  
  35. FUNCTION
  36.   Creates a gadbox radio button gadget. These gadgets offer several buttons, but
  37.   only one can be activated at any time.
  38.  
  39. INPUTS
  40.   con      : associated gadget context
  41.   names    : array of names for buttons
  42.   height   : number of names to be ordered vertical
  43.   id       : gadgets id
  44.  
  45. RETURNS
  46.  
  47.  
  48.  
  49.  
  50. gbradio.library/EGB_ModifyRadioGadget
  51. NAME
  52.   EGB_ModifyRadioGadget
  53.  
  54. SYNOPSIS
  55.   EGB_ModifyRadioGadget(win, gad, data);
  56.             A0   A1   D0
  57.  
  58.   EI_WindowPtr    win;
  59.   EI_Gadgetptr    gad;
  60.   WORD            data;
  61.  
  62. FUNCTION
  63.   Activates a different button of a radio gadget.
  64.  
  65. INPUTS
  66.   win     : Window, that contains the gadget; if NULL, no refresh is done
  67.   gad     : The radio gadget
  68.   data    : The number of the button to be activated
  69.  
  70. RETURNS
  71.  
  72.  
  73.  
  74.  
  75. gbradio.library/EGB_OffRadioElems
  76. NAME
  77.   EGB_OffRadioElems
  78.  
  79. SYNOPSIS
  80.   EGB_OffRadioElems(win, gad, elems)
  81.             A0   A1   D0
  82.  
  83.   EI_WindowPtr   win;
  84.   EI_GadgetPtr   gad;
  85.   ULONG          elems;
  86.  
  87. FUNCTION
  88.   Makes several buttons of a radio gadget unselectable.
  89.  
  90. INPUTS
  91.   win      : Window that contains the gadget; if NULL, no refresh is done
  92.   gad      : the radio gadget
  93.   elems    : Each bit in the 32 bit number represents one button. If the bit
  94.          is set, the associated gadget becomes unselectable.
  95.  
  96. RETURNS
  97.  
  98.  
  99.  
  100.  
  101. gbradio.library/EGB_OnRadioElems
  102. NAME
  103.   EGB_OnRadioElems
  104.  
  105. SYNOPSIS
  106.   EGB_OnRadioElems(win, gad, elems);
  107.            A0   A1   D0
  108.  
  109.   EI_WindowPtr   win;
  110.   EI_GadgetPtr   gad;
  111.   ULONG          elems;
  112.  
  113. FUNCTION
  114.   Makes several buttons of a radio gadget selectable.
  115.  
  116. INPUTS
  117.   win    : The window that contains the gadget; if NULL no refresh is done.
  118.   gad    : The radio gadget
  119.   elems  : Each bit in this 32 bit number represents one button. If a bit is
  120.        set, the associated gadget becomes selectable.
  121.  
  122. RETURNS
  123.  
  124.  
  125.  
  126.  
  127.  
  128.